﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage.Master" AutoEventWireup="true" CodeBehind="Booking.aspx.cs" Inherits="CinemaBookingWebsite.Booking" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:Repeater ID="RepeaterAud" runat="server" OnItemDataBound="ItemBound">
        <ItemTemplate>

            <asp:Repeater ID="RepeaterRow" runat="server">
                <ItemTemplate>
                    <asp:Label ID="lblSeat" runat="server" Text='<%#Eval("SeatNumber")%>'></asp:Label>
                </ItemTemplate>
            </asp:Repeater>
            <br />
        </ItemTemplate>
    </asp:Repeater>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:DropDownList ID="DDLRow" runat="server" OnSelectedIndexChanged="DDLRow_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList>
            Vælg Række
            <br />
            <br />
            <asp:DropDownList ID="DDLChoice" runat="server"></asp:DropDownList>
            Vælg Startsæde:
            <br />
            <br />
            <asp:DropDownList ID="DDLNumber" runat="server">
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
            </asp:DropDownList>
            Vælg Antal sæder<br />
            <br />

        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:TextBox ID="txtName" runat="server" Width="170px"></asp:TextBox>
    &nbsp;Navn<br />
    <br />
    <asp:TextBox ID="txtPhone" runat="server" Width="170px"></asp:TextBox>
    Telefon<br />
    <br />
    <asp:Button ID="Button1" runat="server" Text="Indsend" OnClick="Button1_Click" />
</asp:Content>
